package com.ecar.api.service.common;

import java.util.Date;

import com.ecar.api.support.dto.ForecastPriceDetailDto;
import com.ecar.api.support.dto.PriceCalculateDto;
import com.ecar.common.dto.DataBean;
import com.ecar.core.order.entity.OrderPriceDetail;
import com.ecar.core.order.entity.OrderPriceRule;

public interface PriceCalculateService {
	/**
	 * 查询价格详情
	 * @param orderNum
	 * @return
	 */
	OrderPriceDetail selectByOrderNum(String orderNum);
	/**
	 * 插入价格详情
	 * @param orderNum
	 * @param emptyDriverDistance
	 * @param roadDistance
	 * @return
	 */
	DataBean getReceiveOrSendOrderPriceDetail(String orderNum,double emptyDriverDistance,double roadDistance,int driverTime,double addCharge);
	
	OrderPriceRule selectPriceRule(int carLevel,int serviceType);
}
